package com.example.binpacking.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.binpacking.model.QuestionnaireItem;
import com.example.binpacking.model.QuestionnaireOption;

import java.math.BigDecimal;

public interface QuestionnaireOptionService extends IService<QuestionnaireOption> {
    Page<QuestionnaireOption> selectByDeletedAndItem(BigDecimal itemid, BigDecimal isdeleted, int current, int size);


//    boolean updateNameById(BigDecimal id, QuestionnaireName questionnaireName);
//
//    boolean updateIsdeletedById(BigDecimal id, QuestionnaireName questionnaireName);

    int updateNameById(BigDecimal id, String name);
    int updateDeletedById(BigDecimal id, BigDecimal isdeleted);
}
